﻿<ul>
<?php foreach($this->getData() as $groupp): ?>
<div class="groups">
<?php if($groupp->roles_id > 2): ?>
<?php echo CHtml::link(CHtml::encode($groupp->groupname), array('group/view', 'id'=>$groupp->id)); ?>
<?php endif; ?>
</div>
<?php endforeach; ?>
</ul>